package com.missfresh.cooperation2meituan.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import com.missfresh.cooperation2meituan.dao.OrderExtendDao;
import com.missfresh.cooperation2meituan.service.OrderExtendService;

@Service("OrderExtendService")
public class OrderExtendServiceImpl implements OrderExtendService{
	@Value("${app.id}")
	private String app_id;
	
	@Autowired
	private OrderExtendDao orderExtendDao;

	@Override
	public List<Map<String, Object>> queryMeituanInventoryAppstore(
			Map<String, Object> params) {
		List<Map<String,Object>> list=orderExtendDao.queryMeituanInventoryAppstore(params);
		return list;
	}
	@Override
	public List<Map<String, Object>> querySpuAndSkuByParams(
			Map<String, Object> map) {
		return orderExtendDao.querySpuAndSkuByParams(map);
	}

	@Override
	public List<String> queryAppPoiCode(Map<String,Object> map) {
		return orderExtendDao.queryAppPoiCode(map);
	}
}
